AddCSLuaFile("cl_init.lua") 
AddCSLuaFile("shared.lua") 
include('shared.lua')

function ENT:Initialize() 
	//self:PhysicsInit( SOLID_NODE)
	//self:PhysicsInitSphere(0.2)
	
	//
   
 	self:SetModel( "models/Combine_Helicopter/helicopter_bomb01.mdl") 
 	//self:PhysicsInit( SOLID_VPHYSICS )      // Make us work with physics, 
	self:PhysicsInitSphere(1)
	self:DrawShadow(false)
	self:SetCollisionGroup(COLLISION_GROUP_WORLD)
 	//self:SetMoveType( MOVETYPE_VPHYSICS )   // after all, gmod is a physics 
 	//self:SetSolid( SOLID_VPHYSICS )   

	local phys = self:GetPhysicsObject()
	if phys:IsValid() then
		phys:Sleep()
	end
end

function ENT:SetParentNode(parent)
	self.Entity:SetNWEntity("ParentNode", parent)
end

function ENT:GetParentNode()
	return self.Entity:GetNWEntity("ParentNode")
end

function ENT:Think()

end
